# 使用 Alpine 最小基础镜像
FROM alpine:3.20

# 替换 Alpine 源为阿里云源
RUN sed -i 's/https:\/\/dl-cdn.alpinelinux.org\/alpine/https:\/\/mirrors.aliyun.com\/alpine/g' /etc/apk/repositories


# 安装必要的依赖
RUN apk add --no-cache \
    nodejs \
    npm \
    python3 \
    py3-pip

CMD ["sh"]